package com.syf.core.service.run.chain;


import com.syf.core.service.SyService;

import java.util.Set;

/***
 * service执行链工厂类.
 * */
public interface ServiceExecutionChainFactory {
    /**
     * 构建service执行链
     */
    void cachedServiceExecutionChains(Set<SyService> serviceCodeList);

    /**
     * 根据serviceName获取service执行链
     */
    public ServiceExecutionChain getServiceExecutionChain(boolean isSingle, SyService syService);

}
